package com.e3.web.widget.client;

import com.extjs.gxt.ui.client.widget.form.SimpleComboBox;

public class MySimpleComboBox<X> extends SimpleComboBox<X> implements MyField<X> {
	
	private boolean isHide = false;

	public X getFieldValue() {
		return getSimpleValue();
	}

	@SuppressWarnings("unchecked")
	public void setFieldValue(Object value) {
		setSimpleValue((X)value);
	}
	@Override
	public void hide() {
		isHide = true;
		super.hide();
	}

	public boolean isHide() {
		return isHide;
	}
}
